<?php

/**
 * MyButtonColumn
 *
 * @author luubk
 * @since Jan 10, 2013 - 2:23:04 AM
 */
Yii::import('zii.widgets.grid.CButtonColumn');

class MyButtonColumn extends CButtonColumn
{

    function __construct()
    {
        $arr = 'array("pk"=>$data->primaryKey, "lang"=>"' . Yii::app()->language . '")';
        $this->viewButtonUrl = 'Yii::app()->controller->createUrl("view",' . $arr . ')';
    }

}

/** 
 * End file MyButtonColumn
 */
